Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract markdown code block highlighting function #1715

Merged

Conversation

sudormrfbin
Copy link
Member

Depends on #1714.

I'm currently working on adding signature help and need the syntax highlighted signature text separately to apply further styles like underlining the current parameter. This commit separates out a function that highlights the text with the language specified and returns a helix_tui::text::Text.

@sudormrfbin sudormrfbin force-pushed the extract-md-code-block-highlight2 branch 2 times, most recently from 4bf7a45 to 8c9cb50 Compare March 1, 2022 17:26
@sudormrfbin sudormrfbin force-pushed the extract-md-code-block-highlight2 branch from ff2c3a1 to 000ee86 Compare March 5, 2022 04:19
@sudormrfbin sudormrfbin requested a review from archseer March 5, 2022 16:22
@sudormrfbin sudormrfbin mentioned this pull request Mar 5, 2022
5 tasks
@archseer archseer merged commit bde0307 into helix-editor:master Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants